<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateShopQualityBusinTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('shop_quality_busin', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('shop_id')->comment('商户id');
            $table->integer('city_id')->comment('城市id');
            $table->integer('sort')->comment('排序');
            $table->string('list_photo',255)->comment('列表展示图');
            $table->string('quality_comment',1024)->comment('品质评语，多个评语用与（&）分隔');
            $table->integer('status',4)->comment('状态');
            $table->integer('admin_id')->comment('操作人id');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('shops_quality_busin');
    }
}
